﻿/******************************************************************
** 文件名:IT106_GoodClassStockPropertyManager.cs
** Copyright (c) 
** 创建人:佟礼
** 日 期:2012-07-10 17:44:32
** 描 述:
********************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using Enter.Entity;
namespace Enter.DataProxy.Mail.Base
{
    public partial interface IT106_GoodClassStockPropertyManager
    {
        #region 保存记录
        /// <summary>
        /// 保存记录
        /// </summary>
        /// <returns></returns>
        int Insert(T106_GoodClassStockPropertyEntity model);
        #endregion

        #region 修改记录
        /// <summary>
        /// 保存记录
        /// </summary>
        /// <returns></returns>
        int Update(T106_GoodClassStockPropertyEntity model);
        #endregion

        #region 删除数据
        /// <summary>
        /// 删除数据
        /// </summary>
        /// <returns></returns>
        int Delete(int id);
        #endregion

        #region IEntityFacade 成员
        /// <summary>
        /// 填充数据
        /// </summary>
        /// <param name="reader"></param>
        T106_GoodClassStockPropertyEntity FillDetailWithReader(IDataReader reader);
        #endregion

        T106_GoodClassStockPropertyEntity GetObjectByPID(int PID);

        DataTable ShowTable();

        IList<T106_GoodClassStockPropertyEntity> ShowList();

        DataTable ShowTable(PageEntity entity, out int totalPages, out int totalCount);
         /// <summary>
        /// 获取库存属性
        /// </summary>
        /// <param name="cateNo"></param>
        /// <returns></returns>
        IList<T106_GoodClassStockPropertyEntity> GetStockProperty(string cateNo);
    }
}
